﻿using System.Collections.Generic;
using System;

namespace Core.Res
{
    public interface ILoader
    {
        ETTask<IAsset> LoadAsync(string name);
        ETTask LoadAsync(IEnumerable<string> paths, Action<ILoadProgress> func);

        IAsset LoadSync(string name);

        IAsset GetAsset(string path);

        bool CheckAsset(string name);

        void Update();

        void Dispose();
    }
}
